<?php
/* @var $this StandpipeController */
/* @var $model Standpipe */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'standpipe-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'PipeType'); ?>
		<?php echo $form->textField($model,'PipeType'); ?>
		<?php echo $form->error($model,'PipeType'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TankCapacity'); ?>
		<?php echo $form->textField($model,'TankCapacity'); ?>
		<?php echo $form->error($model,'TankCapacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TankLocation'); ?>
		<?php echo $form->textField($model,'TankLocation',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'TankLocation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'SiameseIntakeProvided'); ?>
		<?php echo $form->textField($model,'SiameseIntakeProvided'); ?>
		<?php echo $form->error($model,'SiameseIntakeProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'SiameseIntakeLocation'); ?>
		<?php echo $form->textField($model,'SiameseIntakeLocation',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'SiameseIntakeLocation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'StandPipeSize'); ?>
		<?php echo $form->textField($model,'StandPipeSize'); ?>
		<?php echo $form->error($model,'StandPipeSize'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NoOfUnits'); ?>
		<?php echo $form->textField($model,'NoOfUnits'); ?>
		<?php echo $form->error($model,'NoOfUnits'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'StandPipeAccessible'); ?>
		<?php echo $form->textField($model,'StandPipeAccessible'); ?>
		<?php echo $form->error($model,'StandPipeAccessible'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FireHouseCabinetsProvided'); ?>
		<?php echo $form->textField($model,'FireHouseCabinetsProvided'); ?>
		<?php echo $form->error($model,'FireHouseCabinetsProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'WithCompleteAccessories'); ?>
		<?php echo $form->textField($model,'WithCompleteAccessories'); ?>
		<?php echo $form->error($model,'WithCompleteAccessories'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FireHouseLocation'); ?>
		<?php echo $form->textField($model,'FireHouseLocation',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'FireHouseLocation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FireHouseNoOfUnitsPerFloor'); ?>
		<?php echo $form->textField($model,'FireHouseNoOfUnitsPerFloor'); ?>
		<?php echo $form->error($model,'FireHouseNoOfUnitsPerFloor'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FireHouseSizeOfHose'); ?>
		<?php echo $form->textField($model,'FireHouseSizeOfHose'); ?>
		<?php echo $form->error($model,'FireHouseSizeOfHose'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FireHouseLengthOfHose'); ?>
		<?php echo $form->textField($model,'FireHouseLengthOfHose'); ?>
		<?php echo $form->error($model,'FireHouseLengthOfHose'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TypeOfNozzle'); ?>
		<?php echo $form->textField($model,'TypeOfNozzle'); ?>
		<?php echo $form->error($model,'TypeOfNozzle'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DateLastTested'); ?>
		<?php echo $form->textField($model,'DateLastTested'); ?>
		<?php echo $form->error($model,'DateLastTested'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FireLaneProvided'); ?>
		<?php echo $form->textField($model,'FireLaneProvided'); ?>
		<?php echo $form->error($model,'FireLaneProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'LocationOfFireHydrant'); ?>
		<?php echo $form->textField($model,'LocationOfFireHydrant',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'LocationOfFireHydrant'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->